package com.woniuxy.mapper;

import com.woniuxy.entity.ActivityOrder;
import com.woniuxy.entity.ActivityOrderExample;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface ActivityOrderMapper {
    long countByExample(ActivityOrderExample example);

    int deleteByExample(ActivityOrderExample example);

    int deleteByPrimaryKey(Integer activityOrderId);

    int insert(ActivityOrder record);

    int insertSelective(ActivityOrder record);

    List<ActivityOrder> selectByExample(ActivityOrderExample example);

    ActivityOrder selectByPrimaryKey(Integer activityOrderId);

    int updateByExampleSelective(@Param("record") ActivityOrder record, @Param("example") ActivityOrderExample example);

    int updateByExample(@Param("record") ActivityOrder record, @Param("example") ActivityOrderExample example);

    int updateByPrimaryKeySelective(ActivityOrder record);

    int updateByPrimaryKey(ActivityOrder record);

    List<Map<String, Object>> selectAllActOrderCampAndTypes(HashMap<String, Object> map);
}